<div class="toolbar">
	<a class="help" title="Pomoć" onclick="TogglePopup('.yamb-help', function(){YambHelp('<?php echo $uuid; ?>');});" href="javascript:void(0)">? Pomoć</a>
	
	<a class="new-game-singleplayer" title="Nova igra" onclick="YambRestart('<?php echo $uuid; ?>')" href="javascript:void(0)">Nova igra</a>
	
	<?php if($player || $fb_player): ?>
		<a class="new-game-multiplayer" title="Nova igra protiv igrača" onclick="TogglePopup('#player-list', function(){YambBrowsePlayers('<?php echo $uuid; ?>')});" href="javascript:void(0)">Protiv igrača</a>
		<?php if($player): ?>
			<a class="user-logout" title="Odjava" onclick="YambLogout();" href="javascript:void(0)">Odjava</a>
		<?php else: ?>
			<a class="user-login" title="Prijava" onclick="TogglePopup('#user-login-form');" href="javascript:void(0)">Prijava</a>
		<?php endif; ?>
	<?php else: ?>
		<a class="user-login" title="Prijava" onclick="TogglePopup('#user-login-form');" href="javascript:void(0)">Prijava</a>
	<?php endif; ?>

</div>